/*
*
* PositionMapper.java
* @date 2019-01-15
*/
package com.lyz.myself.mapper;

import com.lyz.myself.pojo.Po.Position;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PositionMapper {

    List<Position> positionList(@Param("company_id") Integer company_id);

    /**
     *
     * @mbg.generated 2019-01-15
     */
    int insert(Position record);

    /**
     *
     * @mbg.generated 2019-01-15
     */
    int insertSelective(Position record);

    /**
     * 根据role_id查询用户类型
     * @param role_id
     * @return
     */
    String getDescription(@Param("role_id") Integer role_id);
 }